package com.loveyukari.dao;


import com.loveyukari.model.RoomLiwu;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface RoomLiwuDao {


    void insertRoomLiwu(RoomLiwu roomLiwu);

    void batchInsertRoomLiwu(List<RoomLiwu> roomLiwuList);

    List<Integer> selectUserIdByRoomLiwuDateHits(int roomId, Date giveDate, int liwuId, int hits);

    Map<Integer,Integer> selectUserIdByRoomLiwuDateHitsMap(int roomId, Date giveDate, int liwuId, int hits);

    int sumLiwuTotal(int roomId,int gfid,Date date);

}
